package com.reebake.ideal.response.wrapper.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

@Data
@ConfigurationProperties(prefix = "mvc.response-body-wrapper")
public class ResponseBodyWrapperProperties {
    private List<Class<?>> ignoreWrapperTypes = new ArrayList<>();
    private List<String> ignoreWrapperUrls = new ArrayList<>();
    private String codeParameterName = "code";
    private String messageParameterName = "message";
    private String dataParameterName = "data";
    private Integer successCode = 0;
    private String successMessage = "success";
}
